package org.molamil.acto.validators {	import org.molamil.acto.core.loggers.Logger;			/**	 * XXX: Document.	 * 	 * @author Jorge Hernandez	 */	public class RegExpValidator extends AbstractValidator {						// CONSTANTS				private static const log:Logger = Logger.getLogger("RegExpValidator");						// PROPERTIES				public var pattern:RegExp;						// PROTECTED METHODS				protected override function doValidate(source:*):Boolean {			if (pattern == null) {				log.severe("the pattern property cannot be null for this validator");				return false;			}						return pattern.test(source);					}					}	}